package cn.iocoder.yudao.module.scenic.controller.admin.comment.vo;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 实践点评论分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class CommentPageReqVO extends PageParam {

    @Schema(description = "小程序用户id", example = "20470")
    private String memberId;

    @Schema(description = "评论内容")
    private String content;

    @Schema(description = "是否通过审核 ")
    private Boolean isShow;

    @Schema(description = "实践点", example = "13103")
    private Long spotId;

    @Schema(description = "实践点部门id", example = "17125")
    private Long spotDeptId;

    private Integer commentStatus;

    @Schema(description = "星星数")
    private String stars;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}